package org.lemon.transport.context.auth;

import lombok.Data;
import org.lemon.transport.context.data.device.DeviceProfile;

@Data
public class ValidateDeviceCredentialsResponse {

    /**
     * 设备信息
     */
    private TransportDeviceInfo deviceInfo;
    /**
     * 设备组信息
     */
    private DeviceProfile deviceProfile;
    /**
     * 设备凭证
     */
    private String credentials;

    public boolean hasDeviceInfo() {
        return deviceInfo != null;
    }
}
